NuclearEngagement\Core\SecurityErrorHandler A

Total Complexity 56
Dependencies 4
Dependents 0
Total lines 556
Lines of code 281
Logical lines of code 114
Comment lines 118
Methods 28
Properties 5

Methods 28

Method Rating Maintainability Complexity Lines of code
detect_suspicious_activity()
S
51 7 29
sanitize_input()
S
53 6 25
apply_rate_limit()
S
47 5 38
get_security_dashboard()
S
50 4 30
handle_security_error()
S
49 2 32
block_ip()
S
57 2 18
is_ip_blocked()
S
64 3 10
init()
S
58 2 14
handle_successful_login()
S
63 2 11
check_ip_before_auth()
S
64 2 10
monitor_ajax_requests()
S
67 2 7
monitor_rest_requests()
S
69 2 6
sanitize_for_logging()
S
76 2 3
handle_login_failure()
S
65 1 10
get_client_ip()
S
79 1 3
assess_threat_level()
S
81 1 3
get_ip_geolocation()
S
72 1 6
is_known_bot()
S
81 1 3
count_similar_events()
S
81 1 3
track_security_event()
S
89 1 2
apply_security_measures()
S
89 1 2
requires_immediate_response()
S
81 1 3
trigger_immediate_response()
S
89 1 2
notify_admin_of_block()
S
89 1 2
calculate_overall_threat_level()
S
81 1 3
load_security_data()
S
89 1 2
save_security_data()
S
89 1 2
cleanup_security_data()
S
89 1 2